package com.platform.comm.message;

import cn.hutool.json.JSONUtil;
import com.platform.comm.enums.MessageType;
import lombok.Data;

import java.util.Map;

/**
 * Description:
 *
 * @author zyk
 */
@Data
public class ImportMessage extends CommonMessage {

    private static final long serialVersionUID = -3943153839322524912L;

    public ImportMessage() {
    }

    public ImportMessage(String id, MessageType type, Map<String,String> body, long createTime) {
        super(id,type, JSONUtil.toJsonStr(body),createTime);
    }
}
